package com.gulimall.product.feign;

import com.common.to.WareSkuTo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@FeignClient("gulimall-ware")
public interface WareSkuFeignService {

    @PostMapping("/ware/waresku/check")
    public List<WareSkuTo> check(@RequestBody List<Long> skuIds);
}
